# isinstance() 会认为子类是一种父类类型，考虑继承关系
# type() 不会认为子类是父类的类型，不考虑继承关系
a = 111
meassage = isinstance(a, int)

print(meassage)

print(isinstance(a, (str, int, list)))

print(isinstance(a,str))

class A:
    pass

class B(A):
    pass

print((A()) == A)

